package com.fita.entity.agent;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author mohanlan
 *
 */
@Alias("AgentType")
public enum AgentType {

	PERSONAL("个人代理"),

	COMPANY("公司代理");

	private String description;

	private AgentType(String description) {
		this.description = description;
	}
	
	/**
	 * 
	 * @return
	 */
	public boolean isCompany() {
	    return this.equals(COMPANY);
	}
	
	/**
	 * @return
	 */
	public boolean isPersonal() {
        return this.equals(PERSONAL);
    }

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

}
